<!--
 * @Description: 
 * @Author: charles
 * @Date: 2021-10-22 15:02:56
 * @LastEditors: charles
 * @LastEditTime: 2021-10-25 11:59:24
-->
<template>
  <div class="fullpage">
    <van-nav-bar  
      @click-left="$router.back()"
      left-text="返回" 
      :title="title"></van-nav-bar>
    <slot></slot>
  </div>
</template>
<script>
export default {
  props:{
    title:{
      required:true,
      type:String
    }
  },
  set(){

  }
}
</script>
<style lang="scss" scoped>
.fullpage {
  position: fixed;
  z-index:100000;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: #efefef;
}
</style>
